<?php $this->load->view('layout/jingqu/header');?>
<div class="order-page screen-width clearfix">
    <div class="order-left">
        <?php $this->load->view('layout/account_left');?>
    </div>
    <div class="order-right">
        <div class="mba-text screen-min-width">
            <table class="table">
                <thead>
                    <tr>
                        <th class="mba-img mba-left">
                            <img src="<?php echo $this->config->show_image_url($bankInfo->bank_img);?>">
                        </th>
                        <th class="mba-num">
                            <p><?php echo wordwrap($bankInfo->bank_card, 4, ' ', true); ?></p>
                        </th>
                        <th class="mba-card">
                            <i><?php echo ($bankInfo->bank_type == 1) ? '储蓄卡' : '信用卡'; ?></i>
                        </th>
                        <th class="mba-name">
                            <?php echo $bankInfo->cardholder; ?>
                        </th>
                        <th class="mba-limit">
                            <span>限额50000/次</span>
                        </th>
                        <th class="mba-right">
                            <a href="<?php echo base_url('userBank/delete/'. $bankInfo->user_bank_id); ?>" onclick="return confirm('确定删除该银行卡?')">删除</a>
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="mba-img">
                            <img src="skins/images/brank.jpg">
                        </td>
                        <td>
                            <p>预留手机：<?php echo $bankInfo->mobile_phone; ?></p>
                        </td>
                        <td colspan="2">
                            <span class="mba-time">绑定时间：<?php echo str_replace('-', '.', substr($bankInfo->created_at, 0, 10)); ?></span>
                        </td>
                        <td colspan="2">
                            <span class="mba-ipone">客服电话：4006695599</span>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6" class="mba-add">
                            <a href="<?php echo site_url('userBank/bankAdd'); ?>" class="clearfix">
                                <i>+</i>
                                <p>添加银行卡</p>
                            </a>
                            <a href="javascript:history.back();" class="mba-ruturn">返回上一步</a>
                        </td>
                    </tr>
                </tbody>
            </table>
            <p class="safty">为保障您的资金安全，请确保所留信息的真实性</p>
        </div>
    </div>
</div>
<?php $this->load->view('layout/jingqu/footer');?>